- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Is there a way to access {SID} in email invitation?
- adishardis
- Topic Author
- Offline
- New Member
Less
More
8 years 3 weeks ago #134768
by adishardis
Is there a way to access {SID} in email invitation? was created by adishardis
I really need to have access to the survey ID in the invitation email.
What is the reason it's not provoided along with for example {SID}?
Take care
/Adam
What is the reason it's not provoided along with for example {SID}?
Take care
/Adam
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
8 years 2 weeks ago #134779
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Is there a way to access {SID} in email invitation?
I have no idea why that placeholder doesn't work in emails.
This is a total hack but try:
This is a total hack but try:
Code:
{stristr(str_replace('/sid/', '', stristr(SURVEYURL, '/sid/')), '/', 'true')}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
8 years 2 weeks ago #134798
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Is there a way to access {SID} in email invitation?
It doesn't work in email ???
Must be fixed i think .....
Must be fixed i think .....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- adishardis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
8 years 2 weeks ago #134853
by adishardis
Replied by adishardis on topic Is there a way to access {SID} in email invitation?
Yes, there are so many application areas where {SID} would be needed.
I can't seem to get the sid using your suggestion, the function returns an empty result. Maybe it has something to do with the fact that I'm using html mails, so the link {SURVEYURL} is a html string instead of barebone link?
Thank you though for your effort!
Any other ideas?
Cheers
/Adam
I can't seem to get the sid using your suggestion, the function returns an empty result. Maybe it has something to do with the fact that I'm using html mails, so the link {SURVEYURL} is a html string instead of barebone link?
Thank you though for your effort!
Any other ideas?
Cheers
/Adam
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
8 years 2 weeks ago #134864
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Is there a way to access {SID} in email invitation?
For the tpartner workaround , try but unsure
{stristr(str_replace('/sid/', '', stristr("@@SURVEYURL@@", '/sid/')), '/', 'true')}
To have SID : make a feature request : you'r right : it's a must have .
{stristr(str_replace('/sid/', '', stristr("@@SURVEYURL@@", '/sid/')), '/', 'true')}
To have SID : make a feature request : you'r right : it's a must have .
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- adishardis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
8 years 2 weeks ago #134875
by adishardis
Replied by adishardis on topic Is there a way to access {SID} in email invitation?
@@SURVEYURL@@ did not do the trick either
I've submitted a feature request so it may be added to this wonderful software!
/Adam
I've submitted a feature request so it may be added to this wonderful software!
/Adam
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 2 weeks ago #135043
by first
Survey Designer and Programmer
Replied by first on topic Is there a way to access {SID} in email invitation?
Did tpartner hack worked?
Survey Designer and Programmer
The topic has been locked.